package cn.tedu.eguser.base.response;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    OPERATION_SUCCESS(5000, "操作成功"),
    OPERATION_FAILED(6000, "操作失败"),
    VALIDATED_ERROR(7000, "参数验证失败"),
    USERNAME_EXISTS(1000, "用户名被占用"),
    USERNAME_PASSWORD_ERROR(1001, "用户名或密码错误"),
    NOT_LOGIN(1002, "用户未登录"),
    THROWABLE_ERROR(6666, "未知异常");
    private Integer state;
    private String message;
}
